package com.mocha.thread;

import java.util.concurrent.ThreadFactory;

public class ThreadFactoryTest implements ThreadFactory {

    private static final String THREAD_NAME = "test-thread";

    private ThreadGroup group =new ThreadGroup(THREAD_NAME);


    @Override
    public Thread newThread(Runnable r) {
        return new Thread(group,r);
    }
}
